package cn.jingyuan.swan.system.domain.sys.dao.mysql;

import cn.jingyuan.swan.cloud.dao.mybatisplus.AbstractMyBatisPlusCrudDao;
import cn.jingyuan.swan.system.domain.sys.dao.AuthorityAppDao;
import cn.jingyuan.swan.system.domain.sys.entity.AuthorityApp;
import cn.jingyuan.swan.system.domain.sys.mapper.AuthorityAppMapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Repository
public class AuthorityAppDaoMySql extends AbstractMyBatisPlusCrudDao<AuthorityApp, Long> implements AuthorityAppDao {

    @Resource
    AuthorityAppMapper mapper;

    @Override
    public int delete(Long id) {
        throw DAO_EX_NONSUPPORT;
    }

    @Override
    public int deletes(List<Long> ids) {
        throw DAO_EX_NONSUPPORT;
    }

    @Override
    public int update(AuthorityApp entity) {
        throw DAO_EX_NONSUPPORT;
    }

    @Override
    public int updates(List<AuthorityApp> entities) {
        throw DAO_EX_NONSUPPORT;
    }

    @Override
    public AuthorityApp get(Long id) {
        throw DAO_EX_NONSUPPORT;
    }

    @Override
    public List<AuthorityApp> gets(List<Long> ids) {
        throw DAO_EX_NONSUPPORT;
    }

    @Override
    public BaseMapper<AuthorityApp> getMapper() {
        return this.mapper;
    }

}
